/**
配色方案
 */
/**头部-配色*/
.layui-layout-admin .layui-header {
    background-color: #000c3b !important;
}

.layui-header > ul > .layui-nav-item.layui-this, .hyframe-tool i:hover {
    background-color: #197971 !important;
}

.layui-header .hyframe-header-content > ul > .layui-nav-item.layui-this, .hyframe-tool i:hover {
    background-color: #197971 !important;
}

/**logo-配色*/
.layui-layout-admin .hyframe-logo {
    background-color: #243346 !important;
}

/**左侧-配色*/
.layui-side.layui-bg-black, .layui-side.layui-bg-black > .hyframe-menu-left > ul {
    background-color: #2f4056 !important;
}

.hyframe-menu-left .layui-nav .layui-nav-child a:hover:not(.layui-this) {
    background-color: #3b3f4b;
}

/**左侧菜单选中-配色*/
.layui-layout-admin .layui-nav-tree .layui-this, .layui-layout-admin .layui-nav-tree .layui-this > a, .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this, .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this a {
    background-color: #1aa094 !important;
}


/**头部样式 */
.layui-layout-admin .header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.hyframe-header-menu, .layui-header {
    height: 60px !important;
}

.hyframe-header-menu > .layui-nav-item {
    color: #1b1d21;
    height: 60px !important;
    line-height: 60px !important;
}

.layui-header > .layui-layout-right > .layui-nav-item {
    height: 60px !important;
    line-height: 60px !important;
}

.layui-layout-left {
    left: 295px !important;
}

.layui-nav.layui-layout-left.hyframe-header-menu.hyframe-pc-show {
    font-weight: bold;
    transition: all .2s;
}


/**logo演示（通用） */
.layui-layout-admin .hyframe-logo {
    font-weight: bold;
    color: #ffffff !important;
    height: 60px !important;
    line-height: 60px !important;
    overflow: hidden;
    line-height: 64px;
    transition: all .2s !important;
}

.layui-layout-admin .hyframe-logo img {
    display: inline-block;
    height: 40px;
    vertical-align: middle;
}

.layui-layout-admin .hyframe-logo h1 {
    display: inline-block;
    margin: 0 0 0 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
    vertical-align: middle;
}

/**缩放工具（通用） */
.hyframe-tool {
    position: absolute !important;
    top: 0;
    left: 215px;
    width: 60px;
    height: 100%;
    line-height: 60px;
    text-align: center;
    color: #ffffff !important;
    transition: all .2s;
}

/**缩放工具（缩放） */
.hyframe-tool i {
    display: block;
    color: #bbe3df;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
}

/**tab选项卡 */
.hyframe-tab {
    margin: 0px;
    overflow: hidden;
    height: 100% !important;
}

.hyframe-tab .layui-tab-content {
    height: calc(100% - 37px) !important;
}

.hyframe-tab .layui-tab-content .layui-tab-item {
    height: 100%;
}

.hyframe-tab .layui-tab-content {
    padding: 0px;
}

.hyframe-tab .layui-tab-title {
    border: none;
    border: 1px solid whitesmoke;
    background-color: white;
}

.hyframe-tab .layui-tab-title li {
    border-right: 1px solid whitesmoke;
    color: dimgray;
}

.hyframe-tab .layui-tab-title .layui-tab-bar {
    display: none;
}

.hyframe-tab .layui-tab-title .layui-this:after {
    display: none;
}

.hyframe-tab .layui-tab-title .hyframe-tab-active {
    display: inline-block;
    background-color: lightgray;
    width: 9px;
    height: 9px;
    border-radius: 30px;
    margin-right: 5px;
}

.hyframe-tab .layui-tab-title .layui-this .hyframe-tab-active {
    background-color: #1e9fff;
}

.hyframe-tab > .layui-tab-title, .hyframe-tab > .close-box {
    height: 35px !important;
}

.hyframe-tab > .layui-tab-title li, .hyframe-tab > .close-box li {
    line-height: 35px !important;
}

.hyframe-tab .layui-tab-title span {
    color: #acafb1;
}

.hyframe-tab .layui-tab-title .layui-this span {
    color: dimgray;
}

.hyframe-tab .layui-tab-title .layui-tab-close {
    font-size: 12px !important;
    width: 14px !important;
    height: 14px !important;
    line-height: 16px !important;
}

.hyframe-tab .layui-tab-title .layui-tab-close:hover {
    border-radius: 4em;
    background: #ff5722;
}

.hyframe-tab .layui-tab-title .disable-close + .layui-tab-close {
    display: none;
}

.hyframe-tab .layui-tab-title .able-close + .layui-tab-close {
    display: inline-block;
}

.hyframe-tab .layui-tab-control > li {
    position: absolute;
    top: 0px;
    height: 35px;
    line-height: 35px;
    width: 35px;
    text-align: center;
    background-color: white;
    border-top: whitesmoke 1px solid;
    border-bottom: whitesmoke 1px solid;
}

.hyframe-tab .hyframe-tab-roll-left {
    left: 0px;
    border-right: whitesmoke 1px solid;
    border-left: whitesmoke 1px solid;
}

.hyframe-tab .hyframe-tab-roll-right {
    right: 35px;
    border-left: 1px solid whitesmoke;
}

.hyframe-tab .layui-tab-tool {
    right: 0px;
    border-left: 1px solid whitesmoke;
}

.hyframe-tab .layui-tab-control .layui-tab-tool,
.hyframe-tab .layui-tab-control .hyframe-tab-roll-left,
.hyframe-tab .layui-tab-control .hyframe-tab-roll-right {
    display: none;
}

.hyframe-tab.layui-tab-roll .layui-tab-control .hyframe-tab-roll-left,
.hyframe-tab.layui-tab-roll .layui-tab-control .hyframe-tab-roll-right {
    display: block;
}

.hyframe-tab.layui-tab-roll .layui-tab-control .hyframe-tab-roll-right {
    right: 0px;
    border-right: 1px solid whitesmoke;
}

.hyframe-tab.layui-tab-roll .layui-tab-title {
    padding-left: 35px;
    padding-right: 35px;
}


.hyframe-tab.layui-tab-tool .layui-tab-control .layui-tab-tool {
    display: block;
}

.hyframe-tab.layui-tab-tool .layui-tab-title {
    padding-left: 0px;
    padding-right: 35px;
}


.hyframe-tab.layui-tab-rollTool .layui-tab-title {
    padding-left: 35px;
    padding-right: 80px;
}

.hyframe-tab.layui-tab-rollTool .layui-tab-control .hyframe-tab-roll-left,
.hyframe-tab.layui-tab-rollTool .layui-tab-control .hyframe-tab-roll-right,
.hyframe-tab.layui-tab-rollTool .layui-tab-control .layui-tab-tool {
    display: block;
}

.hyframe-tab .layui-tab-tool .layui-nav {
    position: absolute;
    height: 43px !important;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: 0 0;
}

.hyframe-tab .layui-tab-tool .layui-nav-item {
    height: 35px;
}

.hyframe-tab .layui-tab-tool .layui-nav-bar {
    display: none;
}

.hyframe-tab .layui-tab-tool .layui-nav-child {
    left: auto;
    top: 45px;
    right: 3px;
    width: 120px;
    border: 1px solid whitesmoke;
}

.hyframe-tab .layui-tab-tool .layui-this a {
    background-color: #009688;
}

.hyframe-tab-loading {
    position: absolute;
    display: none;
    width: 100%;
    height: calc(100% - 37px);
    top: 37px;
    z-index: 19;
    background-color: #fff
}

.hyframe-tab-loading.close {
    animation: close 1s;
    -webkit-animation: close 1s;
    animation-fill-mode: forwards;
}

/**左侧菜单栏 (通用) */
.layui-side.layui-bg-black {
    transition: all .2s;
}

.layui-side.layui-bg-black > .hyframe-menu-left > ul {
    transition: all .2s;
}

.layui-side.layui-bg-black > .hyframe-menu-left > ul > .layui-nav-item:first-child {
    border-top: 1px solid #4b5461;
}

.hyframe-menu-left .layui-nav .layui-nav-item a {
    height: 40px;
    line-height: 40px;
    padding-right: 30px;
}

.hyframe-menu-left .layui-nav .layui-nav-item > a {
    padding-top: 5px;
    padding-bottom: 5px;
}

.hyframe-menu-left .layui-nav .layui-nav-child .layui-nav-child {
    background: 0 0 !important
}

.hyframe-menu-left .layui-nav .layui-nav-more {
    right: 15px;
}

.hyframe-menu-left .layui-nav .layui-nav-item a:hover {
    background-color: transparent !important;
}

.hyframe-menu-left .layui-nav {
    background-color: transparent !important;
}


/**左侧菜单栏 (正常) */
.layui-layout-body .layui-nav-itemed .layui-nav-child a, .layui-layout-body .hyframe-menu-left .layui-nav .layui-nav-child a {
    padding-left: 35px;
}

.layui-layout-body .hyframe-menu-left .layui-nav .layui-nav-child .layui-nav-child a {
    padding-left: 45px;
}

.layui-layout-body .hyframe-menu-left .layui-nav .layui-nav-child .layui-nav-child .layui-nav-child a {
    padding-left: 55px;
}

.layui-layout-body .hyframe-menu-left .layui-nav .layui-nav-child .layui-nav-child .layui-nav-child .layui-nav-child a {
    padding-left: 65px;
}

.layui-layout-body .hyframe-menu-left .layui-nav .layui-nav-itemed > .layui-nav-child {
    padding: 5px 0;
}

/**内容主体（通用） */
.layui-layout-admin .layui-body {
    overflow: hidden;
    bottom: 0px !important;
    top: 60px !important;
    transition: all .2s;
}

/**其它 */
.layui-tab-item {
    width: 100% !important;
    height: 100% !important;
}

.layui-nav-item.layui-this {
    background-color: #1b1d21;
}

.layui-width-height {
    width: 100%;
    height: 95%;
}

/* .layui-tab {
    margin: 0 0 0 0;
    z-index: 99999;
} */

/* .text-center {
    height: 30px !important;
    line-height: 30px !important;
    text-align: center !important;
} */

.layui-nav {
    padding: 0 !important;
}

.layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after {
    width: 0 !important;
    height: 0 !important;
}

.layui-layout-admin .layui-side {
    top: 60px !important;
}

.layui-tab-card {
    box-shadow: 0px 0px 0px #888888;
    border-bottom: 0;
}


/**自定义滚动条样式 */
::-webkit-scrollbar {
    display: none
}


/*移动端遮罩层*/
.hyframe-make {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .5);
    display: none;
}

.hyframe-mini .layui-header {
    z-index: 1001;
}

/**初始化加载层*/
.hyframe-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
}

.hyframe-loader .hyframe-loader-inner {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #1E9FFF;
    animation: spin 2s linear infinite;
}

.hyframe-loader .hyframe-loader-inner:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #1E9FFF;
    animation: spin 3s linear infinite;
}

.hyframe-loader .hyframe-loader-inner:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #1E9FFF;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

/**
鼠标右键
 */
.hyframe-tab-mousedown {
    display: none;
    width: 80px;
    position: absolute;
    top: 0px !important;
    left: 0px !important;
}

.hyframe-tab-mousedown dd a {
    padding: 0 15px;
    color: #484545;
}

.hyframe-tab-make{
    position: absolute;
    top: 36px;
    bottom: 0px;
    width: 100%;
    background: rgb(255, 255, 255,0);
    padding: 0px;
    overflow: hidden;
}

/**
菜单缩放
 */
.popup-tips .layui-layer-TipsG{
    display: none;
}
.popup-tips.layui-layer-tips .layui-layer-content{
    padding: 0;
}
.popup-tips .layui-nav-tree{
    width: 150px;
    border-radius: 10px;
}

/**左侧菜单字体间距*/
.hyframe-menu-left .layui-nav-item a span {
    letter-spacing: 1px;
}

/**头部菜单字体间距*/
.layui-layout-admin .layui-header .hyframe-header-menu.hyframe-pc-show,.layui-layout-admin .layui-header .hyframe-header-menu.hyframe-mobile-show {
    letter-spacing: 1px;
}


/**左侧菜单更多下拉样式*/
.hyframe-menu-left .layui-nav-more,.hyframe-menu-left-zoom .layui-nav-more {
    font-family: layui-icon !important;
    font-size: 12px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    width: auto;
    height: auto;
    /*line-height: normal;*/
    border: none;
    display: inline-block;
    /*margin-top: -6px !important;*/
}

.hyframe-menu-left .layui-nav-child .layui-nav-more {
    margin-top: -6px !important;
}

.hyframe-menu-left .layui-nav .layui-nav-mored,.hyframe-menu-left .layui-nav-itemed>a .layui-nav-more{
    /*margin-top: -9px!important;*/
}

.hyframe-menu-left-zoom.layui-nav .layui-nav-mored,.hyframe-menu-left-zoom.layui-nav-itemed>a .layui-nav-more{
    /*margin-top: -9px!important;*/
}

.hyframe-menu-left .layui-nav-more:before,.hyframe-menu-left-zoom .layui-nav-more:before {
    content: "\e61a";
}
/*.hyframe-menu-left .layui-nav-itemed > a > .layui-nav-more,.hyframe-menu-left-zoom .layui-nav-itemed > a > .layui-nav-more {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    width: 12px;
    text-align: center;
    border-style:none;
}*/

.hyframe-menu-left .layui-nav-itemed > a > .layui-nav-more:before,.hyframe-menu-left-zoom .layui-nav-itemed > a > .layui-nav-more:before {
    content: '\e61a';
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
}

/**修复左侧菜单字体不对齐的问题*/
.hyframe-menu-left .layui-nav-item a .iconfont, .hyframe-menu-left .layui-nav-item a .layui-icon {
    /*width: 20px;*/
    padding-right: 5px;
}


/**
 PC版样式
 */
@media screen and (min-width: 1025px) {
    /**头部样式（缩放） */
    .hyframe-mini .layui-layout-left.hyframe-header-menu.hyframe-pc-show {
        left: 155px !important;
    }

    /**logo演示（缩放） */
    .hyframe-mini .layui-layout-admin .hyframe-logo {
        width: 60px !important;
    }

    .hyframe-mini .layui-layout-admin .hyframe-logo h1 {
        display: none;
    }

    /*头部标题*/
    .hyframe-title{
        width:fit-content;width:-webkit-fit-content;width:-moz-fit-content;/*自适应文字宽度*/
        display:inline-block;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        color: white;
        display:table-cell;font-size:30px;line-height:60px;vertical-align:middle;text-align:center
    }
    
    /**左侧菜单栏（缩放） */
    .hyframe-mini .hyframe-menu-left {
        width: 80px !important;
    }

    .hyframe-mini .layui-side.layui-bg-black, .hyframe-mini .hyframe-menu-left > ul, .hyframe-mini .hyframe-menu-left > ul li i {
        width: 60px !important;
    }

    .hyframe-mini .hyframe-menu-left > ul li span:first-child {
        display: none;
    }

    .hyframe-mini .hyframe-menu-left > ul li span:last-child {
        float: right;
        right: 7px;
    }

    .hyframe-mini .hyframe-menu-left .layui-nav .layui-nav-item a {
        height: 40px;
        line-height: 40px;
        padding-right: 0px !important;
    }

    /**内容主体（缩放） */
    .hyframe-mini .layui-layout-admin .layui-body {
        left: 60px !important;
    }

    .hyframe-mini .hyframe-tool {
        left: 75px !important;
    }

    .hyframe-pc-show{
        display: block;
    }
    .hyframe-mobile-show{
        display: none;
    }

    /**菜单缩放*/
    .hyframe-mini .hyframe-menu-left .layui-nav-more,.hyframe-mini .hyframe-menu-left .layui-nav-child{
        display: none;!important;
    }
}

/**
 手机自适应样式
*/
@media screen and (max-width: 1024px) {

    /**
    todo 修复低版本IOS不能滑动问题, 但还是有问题, 低版本IOS部分情况下子页面无法自适应
     */
    .hyframe-tab .layui-tab-content .layui-tab-item {
        -webkit-overflow-scrolling: touch;
        overflow: scroll;
        width: 100%;
        height: 100%;
    }

    .hyframe-tab .layui-tab-content .layui-tab-item iframe {
        height: 100%;
        width: 100%;
    }

    .hyframe-pc-show{
        display: none;
    }
    .hyframe-mobile-show{
        display: block;
    }
    .hyframe-header-content {
        left: 0;
    }

    .layui-layout-admin .layui-body .layui-tab-item.layui-show {
        border-top: 1px solid #e2e2e2;
    }

    .hyframe-all .layui-layout-left.hyframe-header-menu {
        left: 15px !important
    }

    .hyframe-mini .layui-layout-left.hyframe-header-menu {
        left: 205px !important
    }

    .hyframe-all .layui-layout-admin .layui-body {
        left: 0px !important;
    }

    .hyframe-mini .layui-layout-admin .hyframe-menu-left, .hyframe-mini .layui-header .hyframe-logo {
        left: 0;
        transition: left .2s;
        z-index: 1001 !important;
    }

    .hyframe-all .layui-layout-admin .hyframe-menu-left, .hyframe-all .layui-header .hyframe-logo {
        left: -200px;
        transition: left .2s;
        top: 0;
        z-index: 1002;
    }

    .hyframe-mini .layui-layout-admin .layui-body {
        left: 0!important;
        transition: left .2s;
        top: 0;
        z-index: 998;
    }

    .hyframe-mini .hyframe-make {
        display: block;
    }

    .hyframe-multi-module .hyframe-header-content .hyframe-tool {
        display: none;
    }

    .hyframe-single-module .hyframe-header-content .hyframe-tool {
        left: 15px;
    }

    .hyframe-mini .hyframe-site-mobile {
        display: none !important;
    }

    .hyframe-site-mobile {
        display: block !important;
        position: fixed;
        z-index: 100000;
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 2px;
        text-align: center;
        background-color: rgba(0, 0, 0, .7);
        color: #fff;
    }

    .hyframe-header-content {
        z-index: 997;
    }

    /*修复UC之类的浏览器点击无效*/
    .hyframe-make {
        cursor: pointer;
    }

    .hyframe-site-mobile {
        cursor: pointer;
    }
}

@media screen and (max-width: 550px){

    /**头部右侧数据*/
    .hyframe-multi-module.hyframe-mini .hyframe-header-content .layui-layout-right {
        display: none;
    }
}
